package com.syt.service.dao;

import com.syt.service.pojo.PhoneUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PhoneUserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(PhoneUser record);

    int insertSelective(PhoneUser record);

    PhoneUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(PhoneUser record);

    int updateByPrimaryKey(PhoneUser record);

    /**
     * 查询用户，按名称
     * @param userName
     * @return
     */
    PhoneUser selectByUserName(String userName);
}